// ==============================================================================================
// IInfoPanelSupport.cs
//
// Created by: NI, 2007.03.29
// Revised by: NI, 2007.11.23
// ==============================================================================================
using System.Windows.Forms;

namespace RibbonExplorer
{
  // ==============================================================================================
  /// <summary>
  /// This interface represents the information panel suport services.
  /// </summary>
  // ==============================================================================================
  public interface IInfoPanelSupport
  {
    // --------------------------------------------------------------------------------------------
    /// <summary>
    /// Gets the infopanel instance for the specified tree node.
    /// </summary>
    /// <param name="node">Tree node instance</param>
    /// <param name="navigationService">Navigation service instance</param>
    /// <returns>
    /// User control instance
    /// </returns>
    // --------------------------------------------------------------------------------------------
    UserControl GetInfoPanelInstance(TreeNode node, INavigationSupport navigationService);
  }
}